﻿using System;
using System.Collections.Generic;
using System.Text;
using Pahan.McuFusion.Common;

namespace Pahan.McuFusion.Spi
{
    public interface ISpiAdapter : IHardwareAdapter
    {
        /// <summary>
        /// Performs input/output via SPI interface.
        /// </summary>
        /// <param name="input">Input bytes.</param>
        /// <returns>Output bytes.</returns>
        IList<byte> PerformIO(IList<byte> input);
    }
}
